@extends ('layouts/app')
    <div class="mt-2" style="position: absolute;height: 90%;background-color: #3b95e3">
        <div class="lgoin-header">
            <div class="logo">
                <img src="/img/logo.png" alt="" class="img-responsive">
            </div>
            <img src="/img/login-bg.jpg" alt="" class="img-responsive">
        </div>
        <div class="login-content">
            <form method="POST" action="{{ route('login') }}" name="formInfo" id="formInfo">
               {{csrf_field()}}
                <div class="weui-cells weui-cells_form no-border">
                    <div class="weui-cells no-border">
                        <div class="weui-cell">
                            <div class="weui-cell__hd mr-10">
                                <svg class="icon f48 white" aria-hidden="true">
                                    <use xlink:href="#icon--19"></use>
                                </svg>
                            </div>
                            <div class="weui-cell__bd">
                                <input class="weui-input white" name="mobile" type="text" placeholder="请输入用户名/手机号">
                            </div>
                        </div>
                        <div class="weui-cell">
                            <div class="weui-cell__hd mr-10">
                                <svg class="icon f48 white" aria-hidden="true">
                                    <use xlink:href="#icon--16"></use>
                                </svg>
                            </div>
                            <div class="weui-cell__bd">
                                <input class="weui-input white" name="password" type="password" placeholder="请输入密码">

                                @if (isset($errors))
                                    @if ($errors->has('mobile'))
                                        <a color="green">{{ $errors->first('mobile') }}</a>
                                    @endif
                                    @if($errors->has('mobile')==false && $errors->has('password'))
                                        <a color="green">{{ $errors->first('password') }}</a>
                                    @endif
                                @endif
                            </div>
                        </div>
                        <div style="visibility: hidden">
                            <input type="checkbox" name="remember" id="remember" class="form-check-input" checked>
                            <label for="remember" class="form-check-label" style="color:#fff;font-size: 14px;">
                                {{--下次自动登录--}}
                            </label>
                        </div>
                        <div class="weui-cell">
                            <button type="submit" class="weui-btn weui-btn_blue btn-login f30">登录</button>
                        </div>
                        <div class="other">
                            <a href="/mobile/register" class="pull-left f24">注册</a>
                            <a href="/mobile/email" class="pull-right f24">忘记密码</a>
                        </div>
                    </div>
                </div>
            </form>
            <div class="other-login">
                <div class="title text-center white f24">第三方登录</div>
                <div class="weui-flex">
                    <div class="weui-flex__item text-center">
                        <div class="round">
                            <a href="/wechat/login">
                                <svg class="icon f72 wechat-green" aria-hidden="true">
                                    <use xlink:href="#icon--21"></use>
                                </svg>
                            </a>
                        </div>
                    </div>
                    {{--展示屏蔽--}}
                    {{--<div class="weui-flex__item text-center">--}}
                        {{--<div class="round">--}}
                            {{--<a href="">--}}
                                {{--<svg class="icon f72 qq-blue" aria-hidden="true">--}}
                                    {{--<use xlink:href="#icon--22"></use>--}}
                                {{--</svg>--}}
                            {{--</a>--}}
                        {{--</div>--}}
                    {{--</div>--}}
                    {{--<div class="weui-flex__item text-center">--}}
                        {{--<div class="round">--}}
                            {{--<a href="">--}}
                                {{--<svg class="icon f72 weibo-red" aria-hidden="true">--}}
                                    {{--<use xlink:href="#icon--20"></use>--}}
                                {{--</svg>--}}
                            {{--</a>--}}
                        {{--</div>--}}
                    {{--</div>--}}
                </div>
            </div>
        </div>
    </div>


